package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Insert;

//@Repository
public interface UserMapper {

    @Insert("insert into t_user values(#{id},#{username},#{password},#{age},#{phone},#{email},#{deparatment_id})")
    int insertOne(User user);

    int updateUserInfo(User user);
}
